echo off

set ProjectName=nera.tester.go

set msBuildDir=%WINDIR%\Microsoft.NET\Framework\v3.5


set SHFBROOTBackup=%SHFBROOT%
cd >temp.temp.temp
set /p SHFBROOT= <temp.temp.temp
del /Q temp.temp.temp
set SHFBROOT=%SHFBROOT%\..\..\Tools\SHFBuilder

@REM set verbosity=detailed
set verbosity=normal

call %msBuildDir%\msbuild %ProjectName%.csproj /tv:3.5 /m /verbosity:%verbosity% %* /p:SolutionFileName=%ProjectName%.sln;ProjectSubFolder=%ProjectName%\

set ProjectName=
set verbosity=
set SHFBROOT=%SHFBROOTBackup%
set SHFBROOTBackup=

echo on